package com.abing.starry.constant;

/**
 * @Author CaptainBing
 * @Date 2024/8/30 10:57
 * @Description
 */
public interface RedisKeyConstant {

    /**
     * 图形验证码Code
     */
    String LOGIN_CAPTCHA = "LOGIN_CAPTCHA";

    /**
     * hash 接口每天调用情况key
     */
    String INTERFACE_COUNT_DAY = "INTERFACE_COUNT_DAY";


    /**
     * 获取redis存储key
     * @param key
     * @param value
     * @return
     */
    static String getRedisKey(String key,String value){

        return key + ":" + value;
    }

}
